home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / tcl / tclmotif.1 / tclmotif / tm.1.2 / README < prev    next >
Encoding:
Text File  |  1994-06-01  |  3.8 KB  |  100 lines

  1. Welcome to...
  2. -------------
  3.  
  4.         A tcl binding to Motif
  5. Who by
  6. ------
  7. Jan Newmarch (jan@pandonia.canberra.edu.au).
  8.  
  9. Availability
  10. ------------
  11. The primary site for this is csc.canberra.edu.au under
  12. /pub/motif/tclMotif/tclMotif.*.tar.z. It is also placed on X and tcl sites
  13. ftp.x.org and harbor.ecn.purdue.edu. From these sites it will be available
  14. on mirrors in lots of places. A binary version for Linux is also available
  15. from Linux sites such as sunsite and tsx-11.
  16.  
  17. What
  18. ----
  19. This package consists of a set of functions and a standalone interpreter "moat"
  20. that allow tcl programs to use the Motif set of widgets. A tcl file can be
  21. read by the standalone interpreter much as the Tk "wish" does. The difference
  22. is that instead of using the Tk library to create and manipulate Tk widgets,
  23. this system uses the Tm library to create and manipulate Motif widgets.
  24.  
  25. Major changes in version 1.2
  26. ----------------------------
  27.  
  28. -    many memory leaks removed.
  29. -    syntax of table of strings changed from Motif comma separated
  30.     form to tcl form (INCOMPATABLE change).
  31. -    string to XmString treats the string as a list of words instead
  32.     of a string of words (INCOMPATABLE change).
  33. -    string to XmString now allows formatting of the string to include
  34.     direction and font.
  35. -    can specify the font of a GC and draw lines and arcs in DrawingArea.
  36. -    TextField shares methods with Text instead of Core.
  37. -    Added user manual written by Jean-Dominique Gascuel.
  38.  
  39. Relation to Wafe
  40. ----------------
  41. The Wafe project also provides a binding of Xt widgets to tcl. Originally
  42. just the Athena widgets, it has been extended to other sets, and has a
  43. Motif binding in beta. 
  44. -    The language syntax differs. tclMotif is closer to Tk than Wafe is.
  45.     Wafe (and WKSH) use 
  46.         command object ...
  47.     syntax. Both Tk and tclMotif use
  48.         object command ...
  49. -    I use the standard Motif callbacks, Wafe has its own callback model.
  50. -    Wafe has more Xt support.
  51. -    The primary aim of wafe is as a tcl/Xt front-end to other languages.
  52.     My binding is just tcl to Motif, so I have been able to tune this
  53.     to the Motif model easier.
  54.  
  55. I am in correspondence with the authors of Wafe, and we have shared code and
  56. developments.
  57.  
  58. Status
  59. ------
  60. This is now in beta status. Please report any bugs either in existing
  61. code, or omissions that reduce the way you would like to use tclMotif.
  62.  
  63. The changes over the releases are summarised in the file CHANGES
  64.  
  65. Requirements
  66. ------------
  67. This has been built using tcl7.3 and the Motif 1.2.1 development libraries.
  68. You need both. I have so far tested this stuff on a Sun O/S 4.1 and a 486
  69. running Linux. Earlier versions used tcl6.7, but this is no longer supported.
  70. It should compile using tcl7.0b3 onwards, and all versions of Motif 1.2.
  71. There is some Motif 1.1 support i.e. it will compile and most things will
  72. run, but some things such as getting resource values of scalars such as
  73. XmNarrowDirection won't.
  74.  
  75. Files
  76. -----
  77. The directory "src" contains the source files.
  78.  
  79. "doc" contains the man pages, a skimpy user manual, and a draft paper.
  80. It also contains a user manual in TeX format, contributed by 
  81. Jean-Dominique Gascuel.
  82.  
  83. The "examples" directory contains a number of good programs that show how
  84. Tm works.
  85.  
  86. The "wtour" directory contains a widget-tour program based on Andrew Payne's
  87. wtour program for Tk.
  88.  
  89. The "tests" directory contains the regression test files for Tm. These cover
  90. many features of Tm, but are not designed for easy reading. The file "index"
  91. in  this directory shows what is tested.
  92.  
  93. The "programs" directory contains adhoc programs used in developing Tm. These
  94. are in no particular order, not documented. You may see some useful examples
  95. in here, but it is pot-luck.
  96.  
  97. At the top level, INSTALL tells you how to build Tm and moat, MOTIFBUGS
  98. explains why things aren't my fault and COPYRIGHT tells who owns it and why.
  99. CHANGES documents what has happened between versions.
  100.